using System;
using System.Xml.Serialization;

namespace com.exceptionalsoftware.spacetime.KML
{
	[Serializable()]
    [XmlType(TypeName = "boundaryType")]
	public class Boundary
	{
        private LinearRing ringField;

        public Boundary()
        {
            // Do nothing.
        }

        public Boundary(LinearRing ring)
        {
            this.LinearRing = ring;
        }

        [XmlElement(ElementName = "LinearRing", Type = typeof(LinearRing))]
        public LinearRing LinearRing
        {
            get { return this.ringField; }
            set { this.ringField = value; }
        }
    }
}